//IOS中激活a标签active事件
var a = document.getElementsByTagName('a');
for (var i = 0; i < a.length; i++) {
	a[i].addEventListener('touchstart', function () {
	}, false);
}
document.body.addEventListener('touchstart', function () {
});

$('.voteTab li').click(function () {
	var index = $(this).index();
	var type = $(this).data('type');
	var url = '/appvote/unregister/' + type + '/' + window.__vote_id + '?' + window.__query_string;
	$(this).addClass('cur').siblings('li').removeClass('cur');
	window.location.href = url;
});
